package org.yh;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

import lombok.extern.slf4j.Slf4j;

@Slf4j
@EnableScheduling
@EnableAsync
@SpringBootApplication
public class App {
	public static void main(String[] args) {
		long start = System.currentTimeMillis();
		SpringApplication.run(App.class, args);
		log.info("启动完成：耗时" + (System.currentTimeMillis() - start) + "ms");
	}
}
